home *** CD-ROM | disk | FTP | other *** search
/ How Many Bugs in a Box / How Many Bugs in a Box.cdr / bugs / act8 / 00098.ls < prev    next >
Encoding:
Text File  |  1995-03-28  |  548 b   |  21 lines

  1. on exitFrame
  2.   global route, game8level
  3.   mydelay(30)
  4.   set possiblelist to [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16, 17, 18, 19, 20, 21, 23, 24, 26, 27, 29, 30, 31, 32]
  5.   set route to getAt(possiblelist, random(count(possiblelist)))
  6.   go("road" & route)
  7.   puppetSprite(1, 0)
  8.   preLoadCast("diga1", "dig10")
  9. end
  10.  
  11. on enterFrame
  12.   repeat with xxx = 2 to 21
  13.     puppetSprite(xxx, 0)
  14.     set the visible of sprite xxx to 0
  15.   end repeat
  16.   repeat with xxx = 37 to 46
  17.     puppetSprite(xxx, 0)
  18.     set the visible of sprite xxx to 0
  19.   end repeat
  20. end
  21.